<template>
	<xbd-select title="请选择楼宇" :carId.sync="title" :visible.sync="visible" :infoList="typeArr" >
		<template>
			<view class="row-item"  @click="visible = true">
				<view class="left">
					<slot name="left">
						<text>预约时间</text>
					</slot>
				</view>
				<view class="right">
					<slot name="right">
						<text>立即出发</text>
						<uni-icons type="arrowright" size="14" color="#999"></uni-icons>
					</slot>
				</view>
			</view>
		</template>
	</xbd-select>
	
</template>

<script>
	export default {
		name: 'RowItemToo',
		data() {
			return {
				title: '请选择楼宇',
				visible: false,
			};
		},
		props: {
			typeArr: {
				type: Array,
				default: () => [
					{
						value: '0',
						label: '请选择楼宇',
						state:''
					},
					{
						value: '1',
						label: '陕西小宝当矿业有限公司接待中心',
						state:''
					},
					{
						value: '1',
						label: '陕西小保当矿业有限公司行政楼',
						state:''
					}
				]
			}
		},
		methods: {
		}
	}
</script>

<style scoped lang="scss">
	.row-item {
		display: flex;
		justify-content: space-between;
		align-items: center;
		
		padding: 20px 30rpx;
		margin-bottom: 10px;
		
		background-color: #FFFFFF;
		.left {
			display: flex;
			align-items: center;
			font-size: 28rpx;
			
			color: #222222;
			image {
				width: 50rpx;
				height: 50rpx;
				margin-right: 10rpx;
			}
		}
		.right {
			color: #F59F54;
			
			font-size: 28rpx;
		}
	}
</style>
